forum

home / developersection / forums / configurationmanager.appsettings convert “\n” to “\\n” why?

ConfigurationManager.AppSettings convert “\n” to “\\n” why?

Anonymous User 2018 22-Aug-2014

I have a AppSetting in web.config.

<add key="key" value="\n|\r"/>

When i read it by ConfigurationManager.AppSettings["key"] it gives "\\n|\\r". Why ?


Updated on 22-Aug-2014

I am a content writter !


Message
Can you answer this question?

Answer

1 Answers

Liked By